Prev Next |
Use to create a field that allows a user to choose a value from a drop-down list of Items.
Client view:
The lookup will fetch its values from an Item specified by the Source field property.
When reading the data from the database, it is represented as a string containing one GUID, for instance:
{ED5E6E79-E6C0-4399-8985-C17AD0E7C8F7}
Valid default value:
GUID string. For example:
{ED5E6E79-E6C0-4399-8985-C17AD0E7C8F7}
Source:
Children of the Item specified in the Source will populate the drop-down list of the lookup field.
Sample source value: /sitecore/content/Home/Colors
Client output:
For information about accessing the field values programmatically, please follow the links below:
Accessing Lookup field value in C#
Accessing Lookup field value in XSLT
Prev Next